import { instance } from "../request";

function api_getPunchCard(data) {
  console.log(data,'api_getPunchCard')
  return instance({
    method: "GET",
    url: "/admin/auth/getPunchCard",
    params: {
      end: data ? data.end : undefined,
      start: data ? data.start : undefined,
      user_id: data ? data.id : undefined
    }
  }).then (res => {
    return res.data
  })
}

export {api_getPunchCard}
